<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>新增文件</title>
    <link rel="stylesheet" href="../../layui/css/layui.css" media="all">
    <script src="../../layui/layui.js" charset="utf-8"></script>
    <script src="../../js/jquery-3.4.1.min.js" charset="utf-8"></script>
    <script src="addFile.js"></script>
</head>
<body>

<!-- 显示区 -->
<form class="layui-form">
    <div class="layui-form-item">
        <label class="layui-form-label" style="width: 100px">ip<span style="color: red">*</span></label>
        <div class="layui-input-block" style="position: absolute;margin-top: 10px;height: 30px;margin-left: 130px">
            <i id="ip" name="ip"  style="color: #108da0"></i>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label" style="width: 100px">父目录<span style="color: red">*</span></label>
        <div class="layui-input-block" style="position: absolute;margin-top: 10px;height: 30px;margin-left: 130px">
            <i id="filePath" name="filePath"  style="color: #108da0"></i>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label" style="width: 100px">类型<span style="color: red">*</span></label>
        <div class="layui-input-block">
            <input type="radio" name="dir" value="1" title="文件夹" checked="">
            <input type="radio" name="dir" value="0" title="文件">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label" style="width: 100px">名称<span style="color: red">*</span></label>
        <div class="layui-input-inline">
            <input type="text" style="width: 260px" name="fileName" id="fileName" autocomplete="on"
                   lay-verify="required"
                   class="layui-input">
        </div>
    </div>

    <br>
    <div class="layui-form-item">
        <div class="layui-input-block" style="position: absolute;margin-left: 200px">
            <button class="layui-btn" lay-submit="" lay-filter="save">保存</button>
            <button class="layui-btn" id="close">取消</button>
        </div>
    </div>
</form>

</body>
</html>